﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucVocNav.ascx.cs" Inherits="SF.Dict.Web.UserControls.ucVocNav" %>
<div id="voccat">
	<ul class="nav">
		<li class="<%=( string.IsNullOrEmpty(VocabularyId) ? "current" : "")%>"><a href="/List.aspx">
			全部</a></li>
		<asp:Repeater ID="rp_vocnav" runat="server">
			<ItemTemplate>
				<li class='<%#(Eval("VocabularyId").ToString() == VocabularyId ? "current" : "")%>'>
					<a title="<%#Eval("Name")%>" href="/Voc.aspx?vid=<%#Eval("VID")%>">
						<%#Eval("Name")%></a> </li>
			</ItemTemplate>
		</asp:Repeater>
	</ul>
	<div class="clear">
	</div>
</div>
